package com.hyh.dubbozkconsume;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Configuration;

@Configuration
@SpringBootApplication
public class DubboZkConsumeApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(DubboZkConsumeApplication.class, args);
//		UserService bean = run.getBean(UserService.class);
//		System.out.println(bean.getUser());
	}
//
//	@Bean
//	public ApplicationConfig applicationConfig() {
//		return new ApplicationConfig();
//	}
}
